package com.ehi.@appName@.domain;

import java.io.Serializable;

import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Carrier implements Serializable {

    private static final long serialVersionUID = 2063106675268677509L;

    private Long id;

    @NotNull(message = "{carrier.carrierName.isNull}")
    private String carrierName;

    @NotNull(message = "{carrier.stateAbbr.isNull}")
    private String stateAbbr;

    private String carrierUrl;

    @NotNull(message = "{carrier.productline.isNull}")
    private String productline;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }

    public String getStateAbbr() {
        return stateAbbr;
    }

    public void setStateAbbr(String stateAbbr) {
        this.stateAbbr = stateAbbr;
    }

    public String getCarrierUrl() {
        return carrierUrl;
    }

    public void setCarrierUrl(String carrierUrl) {
        this.carrierUrl = carrierUrl;
    }

    public String getProductline() {
        return productline;
    }

    public void setProductline(String productline) {
        this.productline = productline;
    }

}
